package com.yunji.hushuang.common;

import java.util.Random;

/**
 * @author hushuang
 * @since 2019/10/14
 */
public class HomeworkServiceImpl implements IHomeworkService {

    @Override
    public void doHomework() {
        System.out.println("课后作业好难啊，加班搞啊");
        System.out.println("课后作业好多啊，吃了饭继续写啊");
        try {
            Thread.sleep(500L + new Random().nextInt(3000));
        } catch (InterruptedException ignore) {
        }
        System.out.println("终于写完了，到底花了多长时间，谁帮我算一下");
    }
}
